/*============================================================================*/
/*                             Smart Car Race                                 */
/*============================================================================*/
/*                        OBJECT SPECIFICATION                                */
/*============================================================================*
* %name:            %
* %version:         %
* %created_by:      %
* %date_created:    %
*=============================================================================*/
/* DESCRIPTION : Scheduler Configuartion File                                 */
/*============================================================================*/
/* FUNCTION COMMENT : Here is the table to configure the tasks of the app     */
/*                                                                            */
/*                                                                            */
/*============================================================================*/

/******************************************************************************
*   Include Files
******************************************************************************/ 

#include    "mw_schm_cfg.h" 
#include    "apptask.h"
#include    "initapp.h"

/******************************************************************************
*   Local Macro Definitions
******************************************************************************/ 

/******************************************************************************
*   Local Type Definitions
******************************************************************************/

/******************************************************************************
*   Local Function Declarations
******************************************************************************/ 

/******************************************************************************
*   Global Variable Definitions
******************************************************************************/

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* Manager/Application main function list */
const S_SCHM_MANAGER_EXEC_TYPE cps_mngTaskList[SCHD_MANAGERS_NUMBER] = 
{
   /* Main function,			Init Function,			Startup delay(ms),   Execution Period(ms),          Group */
    {apptask_3ms_LeftMotor,		initapp_task_3ms_LeftMotor,		3,                  3,						0xFFFF},
    {apptask_3ms_RightMotor,	initapp_task_3ms_RightMotor,	3,                  3,						0xFFFF},
    {apptask_5ms,				initapp_task_5ms,				5,                  5,						0xFFFF},
    {apptask_10ms,				initapp_task_10ms,				10,					10,						0xFFFF},
    {apptask_20ms,				initapp_task_20ms,				20,					20,						0xFFFF},
    {apptask_20ms_Servo,     	initapp_task_20ms_Servo,       	2,                  20,						0xFFFF},
    {apptask_100ms,				initapp_task_100ms,				2800,				100,					0xFFFF},
    {apptask_700ms,				initapp_task_700ms,				700,				700,					0xFFFF},
    {apptask_1s,				initapp_task_1s,				1000,				1000,					0xFFFF},
    {apptask_EXT0_Interrupt,	initapp_EXT0_Interrupt,	  		0,				   	1,						0xFFFF},
    {apptask_EXT1_Interrupt,	initapp_EXT1_Interrupt,	  		0,				   	1,						0xFFFF},
    {appcamara_20ms,            initcamara_20ms,                1,                  20,                     0xFFFF},
  //{function_task_name,		task_initialization,			0,					1,						0xFFFF},
	
    

    /* NOTE: this list shall be updated according to E_MODULES_ID_TYPE! */
};

/*---------------------------------------------------------------------------------------------------------------------*/

/******************************************************************************
*   Static Variable Definitions
******************************************************************************/

/******************************************************************************
*   Global and Static Function Definitions
******************************************************************************/ 
